package com.movie.demo.service.impl;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.movie.demo.mapper.RoleMapper;
import com.movie.demo.pojo.AdminUser;
import com.movie.demo.pojo.Role;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class RoleService extends ServiceImpl<RoleMapper, Role> implements com.movie.demo.service.RoleService {

    @Override
    public Role selectRole(int id) {
        return this.selectById(id);
    }
}
